<!-- Modal -->
<div class="modal fade" id="div-modal" data-bs-keyboard="false" tabindex="-1" aria-labelledby="h-modal" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="h-modal">角色权限列表</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <div class="modal-body container">
                <h5>角色名称: <span class="text-danger" id="modal-roleName"></span></h5>
                <h5>角色ID: <span class="text-danger" id="modal-roleId"></span></h5>
                <nav class="text-end text-right">
                    可添加的权限:
                    <select id="select-perm">

                    </select>
                    <button class="btn btn-primary" onclick="addPerm()">添加权限</button>
                </nav>
                <h5>权限列表</h5>
                <table class="table">
                    <thead>
                    <tr>
                        <td>权限ID</td>
                        <td>名称</td>
                        <td>URL</td>
                        <td>操作</td>
                    </tr>
                    </thead>
                    <tbody id="tbody-role-perm">
                    </tbody>
                </table>

            </div>
            <div class="modal-footer">

            </div>
        </div>
    </div>
</div>